home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 May / EnigmA AMIGA RUN 27 (1998)(G.R. Edizioni)(IT)[!][issue 1998-05].iso / recent1 / global.lha / GlobalTrash / InstallGlobalTrash < prev    next >
Text File  |  1998-04-14  |  49KB  |  1,032 lines

  1. ;-----------------------------------------------------------------------------
  2. ; Script to install GlobalTrash
  3. ;
  4. ; $VER: GlobalTrash-Install 1.2 (14.04.98) © Oliver Blumert 1997/98
  5. ;
  6. ; Translations:
  7. ;    - english:  Geoffrey Webb.
  8. ;    - español:  Dámaso D. Estévez
  9. ;    - français: Francis Labrie.
  10. ;    - italiano: Ciro Scognamiglio.
  11. ;    - polski:   Patryk 'Silver Dream !' £ogiewa.
  12. ;    - svenska:  Martin Hassel, moj@antisocial.com
  13. ;-----------------------------------------------------------------------------
  14.  
  15. ;=============================================================================
  16. ; Configuration defaults
  17. ;=============================================================================
  18.  
  19. (set #MinSysVersion             39)
  20. (set #CPUVersion                -1)
  21. (set #MainprogPath              "SYS:WBStartup")
  22. (set #MainprogName              "GlobalTrash")
  23. (set #ClientPath                "C:")
  24. (set #ClientName                "GlobalTrashClient")
  25. (set #PrefsDefPath              "SYS:Prefs")
  26. (set #PrefsPath                 #PrefsDefPath)
  27. (set #PrefsName                 "GlobalTrashPrefs")
  28. (set #DocuName                  "GlobalTrash.guide")
  29. (set #RegisterName              "Register.txt")
  30. (set #HistoryName               "GlobalTrash.History")
  31. (set #ImportantName             "GlobalTrash.Important")
  32. (set #LocaleSrc                 "catalogs")
  33. (set #LocaleDest                "LOCALE:catalogs")
  34.  
  35. (set #PerformIconCopy           1)
  36.  
  37. ; Installmodes
  38. (set #New                       0)
  39. (set #Update                    1)
  40. (set #Remove                    2)
  41. (set #InstallMode               #New)
  42.  
  43. ;=============================================================================
  44. ; English (default) strings
  45. ;=============================================================================
  46.  
  47. (
  48.   ; Documentation
  49.     (set #DocuPath            "Help/english")
  50.     (set #DocuDefaultPath     "HELP:english")
  51.  
  52.   ; Errors
  53.     (set #Err-Bad-Kick        "You need at least Kickstart 3.0 to run GlobalTrash !")
  54.     (set #Err-Bad-CPU         "You need a Motorola MC68k CPU (68000/010/020/030/040/060) to run GlobalTrash !")
  55.  
  56.   ; Message
  57.     (set #Message             "\n\nThank you very much for choosing\n\n>> GlobalTrash <<\n\nas your trashcan system.\n\n\nInstallscript © 1997/98 by Oliver Blumert\n\n")
  58.  
  59.   ; Main
  60.     (set #InstallModeStrg     "Do you want GlobalTrash to be:")
  61.     (set #InstallMode1        "installed (new) ?")
  62.     (set #InstallMode2        "updated (from an older version) ?")
  63.     (set #InstallMode3        "removed ?")
  64.     (set #InstallModeHelp     "'updated' installs the new versionen (programm, catalog and documentation) and leaves the icons and preferences untouched.\n'installed' installs the complete package including the icons and defaulticons.\n'removed' deletes GlobalTrash from your volume.")
  65.  
  66.     (set #CPUVersionSel       "Install version for the CPU:")
  67.     (set #CPUVersionSelHelp   "Choose a version for your CPU:")
  68.  
  69.     (set #SelectMainDir       "Where do you want to have the program installed ?")
  70.     (set #SelectMainDirHelp   "Select the path for the programm.\n\n\n\nA drawer will NOT be created there !\n\nIf you choose 'SYS:WBStartup' then it will\nbe automatically started after booting")
  71.     (set #CopyMainProg        "Copy mainfile.")
  72.  
  73.     (set #SelectClientDir     "Where do you want to have the GlobalTrashClient installed ?")
  74.     (set #SelectClientDirHelp "Select the path for GlobalTrashClient (a shell-/wb-interface fpr GlobalTrash).\n\n\n\nA drawer will NOT be created there !")
  75.     (set #CopyClientProg      "Copy GlobalTrashClient.")
  76.  
  77.     (set #SelectPrefsDir      "Where do you want to have the preferencesprogram installed ?")
  78.     (set #SelectPrefsDirHelp  "Select the path for the preferencesprogramm.\n\n\n\nA drawer will NOT be created there !")
  79.     (set #CopyPrefsProg       "Copy preferencesprogramm.")
  80.  
  81.     (set #AskIconCopy         "Should the neccesary default-iconfiles for the wb-appicon ('def_Trashcan' and 'def_TrashcanFull') be copied ?")
  82.     (set #AskIconCopyHelp     "This files are needed by GlobalTrash to create the appicon on the workbench. If they wouldn't be copied then the user is unable to delete any files over this appicon until the preferences are corrected.")
  83.     (set #CopyIcons           "Copy needed iconfiles.")
  84.  
  85.     (set #CatalogVersion      0)
  86.     (set #CatalogSel          "Which language should be installed ?\nEnglish is 'built-in' - no need to install it.")
  87.     (set #CatalogSelHelp      "Choose one or more languages which can be used by the programm.\nA catalog for english don't have to be installed (built-in language) !\n\nThe catalogfiles will be installed in 'LOCALE:catalogs/'.")
  88.     (set #CopyLocale          "Copy catalogfile")
  89.  
  90.     (set #SelectDocuDir       "Where do you want to have the documentation installed ?")
  91.     (set #SelectDocuDirHelp   "Select the path for the documentation files.\n\nA drawer will NOT be created there !")
  92.     (set #CopyDocu            "Copy the documentation.")
  93.  
  94.     (set #RemoveMainDir       "Where do you had the program installed ?")
  95.     (set #RemoveMainProg      "Deleting mainfile.")
  96.  
  97.     (set #RemovePrefsDir      "Where do you had the preferencesprogram installed ?")
  98.     (set #RemovePrefsProg     "Deleting preferencesprogramm.")
  99.  
  100.   ; End of installation
  101.     (set #EndInstall          "\n\nThe installation is now finished.\n\n\nIf you have problems, feel free to contact the author.\n\nYou will find the address in the documentation or on his Webpages 'http://home.pages.de/~bolli'.")
  102.     (set #GlobalTrashRemoved  "\n\nGlobalTrash is now removed !\n\n\nI'm sorry that you can find nothing usable at GlobalTrash...")
  103. )
  104.  
  105. ;=============================================================================
  106. ; Deutsche Texte
  107. ;=============================================================================
  108.  
  109. (if (= @language "deutsch")
  110.     (
  111.  
  112.     ; Documentation
  113.         (set #DocuPath            "Help/Deutsch")
  114.         (set #DocuDefaultPath     "HELP:Deutsch")
  115.  
  116.     ; Errors
  117.         (set #Err-Bad-Kick        "GlobalTrash benötigt mindestens Kickstart 3.0 !")
  118.         (set #Err-Bad-CPU         "GlobalTrash benötigt eine Motorola MC68k (68000/010/020/030/040/060) CPU !")
  119.  
  120.     ; Message
  121.         (set #Message             "\n\nVielen Dank, daß Sie \n\n>> GlobalTrash <<\n\nals Mülleimer-System gewählt haben.\n\n\nInstallscript ® 1997/98 von Oliver Blumert\n\n")
  122.  
  123.     ; Main
  124.         (set #InstallModeStrg     "Wollen Sie GlobalTrash:")
  125.         (set #InstallMode1        "neu Installieren ?")
  126.         (set #InstallMode2        "updaten (von einer älteren Version) ?")
  127.         (set #InstallMode3        "entfernen ?")
  128.         (set #InstallModeHelp     "'Update' installiert die neuen Versionen (Programm, Katalog und Anleitung) ohne die Piktogramme oder Einstellungen anzutasten.\n'neu Installieren' installiert das komplette Packet inkl. der Piktogramme und Defaultpiktogramme.\n'entfernen' löscht GlobalTrash von Ihrem Datenträger.")
  129.  
  130.         (set #CPUVersionSel       "Installiere Version für CPU:")
  131.         (set #CPUVersionSelHelp   "Wählen Sie eine zu Ihrer CPU passende Programmversion.")
  132.  
  133.         (set #SelectMainDir       "Wo möchten Sie das Programm installieren ?")
  134.         (set #SelectMainDirHelp   "Wählen Sie einen Pfad für das Hauptprogramm.\n\nEin Verzeichnis wird NICHT erstellt !\n\nWenn Sie 'SYS:WBStartup' auswählen, wird das Programm\nautomatisch nach jedem Bootvorgang gestartet !")
  135.         (set #CopyMainProg        "Kopiere Hauptprogramm.")
  136.  
  137.         (set #SelectClientDir     "Wo möchten Sie den GlobalTrashCient installieren ?")
  138.         (set #SelectClientDirHelp "Wählen Sie einen Pfad für GlobalTrashClient (ein Shell-/WB-Interface für GlobalTrash).\n\nEin Verzeichnis wird NICHT erstellt !")
  139.         (set #CopyClientProg      "Kopiere GlobalTrashClient.")
  140.  
  141.         (set #SelectPrefsDir      "Wo möchten Sie das Einstellungsprogramm installieren ?")
  142.         (set #SelectPrefsDirHelp  "Wählen Sie einen Pfad für das Einstellungsprogramm.\n\nEin Verzeichnis wird NICHT erstellt !")
  143.         (set #CopyPrefsProg       "Kopiere Einstellungsprogramm.")
  144.  
  145.         (set #AskIconCopy         "Sollen die notwendigen Default-Piktogrammdateien für das WB-Appicon ('def_Trashcan' und 'def_TrashcanFull') kopiert werden ?")
  146.         (set #AskIconCopyHelp     "Diese Dateien benötigt GlobalTrash zur Einrichtung des Application-Piktogramms auf der Workbench. Wird es nicht kopiert, können so lange keine Dateien über GlobalTrash gelöscht werden, bis in dem Einsteller eine korrekte Einstellung getroffen wurde.")
  147.         (set #CopyIcons           "Kopiere notwendige Piktogrammdateien.")
  148.  
  149.         (set #CatalogVersion      1)
  150.         (set #CatalogSel          "Welche Sprache möchten Sie installieren ?\nEnglish ist Standard und braucht nicht installiert zu werden !")
  151.         (set #CatalogSelHelp      "Wählen Sie eine Sprache aus, die das Programm nutzen soll.\nEin Katalog für 'deutsch' braucht nicht installiert zu werden (Standardsprache) !\n\nDie Katalogdateien werden in 'LOCALE:catalogs/' installiert.")
  152.         (set #CopyLocale          "Kopiere Katalogdatei.")
  153.  
  154.         (set #SelectDocuDir       "Wo soll die Dokumentation installiert werden ?")
  155.         (set #SelectDocuDirHelp   "Wählen Sie einen Pfad für die Dokumentation.\n\nEin Verzeichnis wird NICHT erstellt !")
  156.         (set #CopyDocu            "Kopiere die Dokumentation.")
  157.  
  158.         (set #RemoveMainDir       "Wo hatten Sie das Programm installiert ?")
  159.         (set #RemoveMainProg      "Lösche Hauptprogramm.")
  160.  
  161.         (set #RemovePrefsDir      "Wo hatten Sie das Einstellungsprogramm installiert ?")
  162.         (set #RemovePrefsProg     "Lösche Einstellungsprogramm.")
  163.  
  164.     ; End of installation
  165.         (set #EndInstall          "\n\nDie Installation ist nun abgeschlossen.\n\n\nSollten Sie wider Erwarten Probleme haben, kontaktieren Sie den Autor.\n\nDie Adresse finden Sie in der Dokumentation oder auf dessen Webseiten 'http://home.pages.de/~bolli'.")
  166.         (set #GlobalTrashRemoved  "\n\nGlobalTrash ist nun entfernt !\n\n\nSchade, daß Sie dieses Programm nicht brauchen können oder benutzen wollen - Ihnen entgeht da einiges...")
  167.     )
  168. )
  169.  
  170. ;=============================================================================
  171. ; Spanish strings
  172. ;=============================================================================
  173.  
  174. (if (= @language "español")
  175.     (
  176.  
  177.     ; Documentación
  178.         (set #DocuPath            "Help/english")
  179.         (set #DocuDefaultPath     "HELP:english")
  180.  
  181.     ; Errores
  182.         (set #Err-Bad-Kick        "¡Se necesita al menos Kickstart 3.0 para ejecutar GlobalTrash!")
  183.         (set #Err-Bad-CPU         "¡Se necesita una CPU Motorola MC68k (68000/010/020/030/040/060) para ejecutar GlobalTrash!")
  184.  
  185.     ; Mensaje
  186.         (set #Message             "\n\nMuchas gracias por elegir\n\n>> GlobalTrash <<\n\npara la gestión del cubo de basura.\n\n\nGuión instalador © 1997/98 Oliver Blumert\n\n")
  187.  
  188.     ; Principal
  189.         (set #InstallModeStrg     "¿Desea que GlobalTrash sea:")
  190.         (set #InstallMode1        "instalado (por primera vez) ?")
  191.         (set #InstallMode2        "actualizado (versión previa ya instalada) ?")
  192.         (set #InstallMode3        "desinstalado?")
  193.         (set #InstallModeHelp     "'actualizado' instala una nueva versión (programa, catálogo y documentación) y deja los iconos y preferencias sin modificar.\n'instalado' instala el paquete completo incluyendo iconos e iconos por defecto.\n\'desinstalado' borra GlobalTrash de su volumen.")
  194.  
  195.         (set #CPUVersionSel       "Instalar versión para la CPU:")
  196.         (set #CPUVersionSelHelp   "Elija una versión para su CPU:")
  197.  
  198.         (set #SelectMainDir       "¿Dónde desea que el programa sea instalado?")
  199.         (set #SelectMainDirHelp   "Elija el camino de acceso al programa\n\n\n\n¡NO se creará ningún cajón!\n\nSi elije 'SYS:WBStartup' el programa será puesto\nen marcha automáticamente cada vez que inicie el sistema")
  200.         (set #CopyMainProg        "Copiar fichero principal.")
  201.  
  202.         (set #SelectClientDir     "¿Dónde desea instalar GlobalTrashClient?")
  203.         (set #SelectClientDirHelp "Elija el camino de acceso al lugar donde se instalará GlobalTrashClient (una interfaz shell/WB para GlobalTrash).\n\n\n\n¡NO se creará ningún cajón!")
  204.         (set #CopyClientProg      "Copiar GlobalTrashClient.")
  205.  
  206.         (set #SelectPrefsDir      "¿Dónde desea instalar el programa de preferencias?")
  207.         (set #SelectPrefsDirHelp  "Elija el camino de acceso al lugar donde se instalará el programa de preferencias.\n\n\n\n¡No se creará ningún cajón!")
  208.         (set #CopyPrefsProg       "Copiar programa de preferencias.")
  209.  
  210.         (set #AskIconCopy         "¿Deben de ser copiados los necesarios iconos por defecto para ser utilizados como iconos de aplicación sobre el WB ('def_Trashcan' y 'def_TrashcanFull')?")
  211.         (set #AskIconCopyHelp     "Estos ficheros son necesarios para crear el icono de aplicación (IconAplic) sobre el Workbench: si no son copiados el usuario no podrá borrar ficheros soltando éstos sobre el icono de aplicación hasta que las preferencias sean corregidas adecuadamente.")
  212.         (set #CopyIcons           "Copiar iconos necesarios.")
  213.  
  214.         (set #CatalogVersion      2)
  215.         (set #CatalogSel          "¿Qué idioma desea instalar?\nEl inglés es interno, así que en este caso no necesita instalar nada.")
  216.         (set #CatalogSelHelp      "Elija el(los) idioma(s) que desee utilizar con el programa.\n¡El catálogo inglés ('english') no será instalado ya que es el lenguaje interno!\n\nLos catálogos serán instalados en 'LOCALE:catalogs/'.")
  217.         (set #CopyLocale          "Copiar catálogo(s)")
  218.  
  219.         (set #SelectDocuDir       "¿Dónde desea instalar la documentación?")
  220.         (set #SelectDocuDirHelp   "Elija el camino de acceso a la documentación.\n\n¡NO se creará ningún cajón!")
  221.         (set #CopyDocu            "Copiar documentación.")
  222.  
  223.         (set #RemoveMainDir       "¿Dónde tiene instalado el programa?")
  224.         (set #RemoveMainProg      "Borrando fichero principal.")
  225.  
  226.         (set #RemovePrefsDir      "¿Dónde tiene instalado el programa de preferencias?")
  227.         (set #RemovePrefsProg     "Borrando programa de preferencias.")
  228.  
  229.     ; Fin de la instalación
  230.         (set #EndInstall          "\n\nEl proceso de instalación ha terminado.\n\n\nSi tiene problemas, contacte con el autor.\n\nPuede localizar su dirección en la documentación o su página Web 'http://home.pages.de/~bolli'.")
  231.         (set #GlobalTrashRemoved  "\n\n¡GlobalTrash ha sido desinstalado!\n\n\nSiento mucho que no le encuentre ninguna utilidad a GlobalTrash...")
  232.     )
  233. )
  234.  
  235.  
  236. ;=============================================================================
  237. ; Textes français
  238. ;=============================================================================
  239.  
  240. (if (= @language "français")
  241.     (
  242.  
  243.     ; Documentation
  244.         (set #DocuPath            "Help/english")
  245.         (set #DocuDefaultPath     "HELP:english")
  246.  
  247.     ; Errors
  248.         (set #Err-Bad-Kick        "Pour utiliser GlobalTrash, vous avez besoin au minimum de la version 3.0 du  Kickstart !")
  249.         (set #Err-Bad-CPU         "Pour utiliser GlobalTrash, vous avez besoin d'un processeur de la famille Motorola MC68 000 (68 000/010/020/030/040/060) !")
  250.  
  251.     ; Message
  252.         (set #Message             "\n\nMerci beaucoup d'avoir choisi le système de corbeille\n\n>> GlobalTrash <<\n\n\nScript d'installation © 1997/98 par Oliver Blumert\n\nTraduction française réalisée par Francis Labrie.")
  253.  
  254.     ; Main
  255.         (set #InstallModeStrg     "Souhaitez-vous que GlobalTrash soit :")
  256.         (set #InstallMode1        "installé (nouveau) ?")
  257.         (set #InstallMode2        "mis à niveau (d'une version antérieure) ?")
  258.         (set #InstallMode3        "enlevé ?")
  259.         (set #InstallModeHelp     "L'option « mis à niveau » installe la nouvelle version (programme, catalogue et documentation) tout en laissant les icônes et les préférences déjà présents intacts.\nL'option « installé » quant à elle installe l'ensemble du logiciel, incluant tous les icônes.\nEnfin, l'option « enlevé » efface complètement GlobalTrash de votre système.")
  260.  
  261.         (set #CPUVersionSel       "Installer une version pour le processeur :")
  262.         (set #CPUVersionSelHelp   "Choisissez une version correspondant à votre processeur.")
  263.  
  264.         (set #SelectMainDir       "Où souhaitez-vous installer le logiciel ?")
  265.         (set #SelectMainDirHelp   "Sélectionnez un chemin pour le logiciel.\n\n\n\nAUCUN tiroir ne sera créé à cet endroit !\n\nSi vous choisissez le tiroir « SYS:WBStartup » alors GlobalTrash sera\nautomatiquement démarré à l'amorçage de votre système.")
  266.         (set #CopyMainProg        "Copie de l'exécutable principal.")
  267.  
  268.         (set #SelectClientDir     "Où souhaitez-vous installer la commande GlobalTrashClient ?")
  269.         (set #SelectClientDirHelp "Sélectionnez un chemin pour la commande GlobalTrashClient (une interface Shell/Workbench pour GlobalTrash).\n\n\n\nAUCUN tiroir ne sera créé à cet endroit !")
  270.         (set #CopyClientProg      "Copie de la commande GlobalTrashClient.")
  271.  
  272.         (set #SelectPrefsDir      "Où souhaitez-vous installer le logiciel de réglages ?")
  273.         (set #SelectPrefsDirHelp  "Sélectionnez un chemin pour le logiciel de réglage.\n\n\n\nAUCUN tiroir ne sera créé à cet endroit !")
  274.         (set #CopyPrefsProg       "Copie du logiciel de réglage.")
  275.  
  276.         (set #AskIconCopy         "Les icônes par défaut nécessaires à l'AppIcône du Workbench (« def_Trashcan » et « def_TrashcanFull ») doivent-ils être copiés ?")
  277.         (set #AskIconCopyHelp     "Ces fichiers sont nécessaires à GlobalTrash afin que ce dernier puisse créer l'AppIcône sur le Workbench.  S'ils ne sont pas copiés, alors l'utilisateur ne pourra pas jeter de fichiers via l'AppIcône jusqu'à ce que les réglages définissent des icônes valides.")
  278.         (set #CopyIcons           "Copie des icônes nécessaires.")
  279.  
  280.         (set #CatalogVersion      4)
  281.         (set #CatalogSel          "Quel langue souhaitez-vous installer ?\nL'anglais est encodé dans l'application et ne requiert aucune installation.")
  282.         (set #CatalogSelHelp      "Choisissez la ou les langues que vous utiliserez avec le programme.\nAucun catalogue n'est nécessaire pour l'anglais (est encodé dans l'application !).\n\nLes fichiers de catalogue seront installés dans le tiroir « LOCALE:catalogs/ ».")
  283.         (set #CopyLocale          "Copie des fichiers de catalogue.")
  284.  
  285.         (set #SelectDocuDir       "Où souhaitez-vous installer la documentation ?")
  286.         (set #SelectDocuDirHelp   "Sélectionnez un chemin pour les fichiers de documentation.\n\nAUCUN tiroir ne sera créé à cet endroit !")
  287.         (set #CopyDocu            "Copie de la documentation.")
  288.  
  289.         (set #RemoveMainDir       "Où aviez-vous préalablement installé le logiciel ?")
  290.         (set #RemoveMainProg      "Destruction de l'exécutable principal.")
  291.  
  292.         (set #RemovePrefsDir      "Où aviez-vous préalablement installé le logiciel de réglage ?")
  293.         (set #RemovePrefsProg     "Destruction du logiciel de réglage.")
  294.  
  295.     ; End of installation
  296.         (set #EndInstall          "\n\nL'installation est maintenant terminée.\n\n\nSi vous avez des problèmes, vous êtes invités à contacter l'auteur.\n\nVous trouverez son adresse dans la documentation ou sur son site Internet au « http://home.pages.de/~bolli ».")
  297.         (set #GlobalTrashRemoved  "\n\nGlobalTrash est maintenant enlevé de votre système !\n\n\nJe suis désolé que vous n'ayez pu trouver une quelconque utilité à GlobalTrash...")
  298.     )
  299. )
  300.  
  301. ;=============================================================================
  302. ; Stringhe in Italiano
  303. ;=============================================================================
  304.  
  305. (if (= @language "italiano")
  306.     (
  307.  
  308.     ; Documentation
  309.         (set #DocuPath            "Help/english")
  310.         (set #DocuDefaultPath     "HELP:english")
  311.  
  312.     ; Errors
  313.         (set #Err-Bad-Kick        "Devi avere almeno il Kickstart 3.0 per usare GlobalTrash !")
  314.         (set #Err-Bad-CPU         "Devi avere una CPU Motorola MC68k (68000/010/020/030/040/060) per usare GlobalTrash !")
  315.  
  316.     ; Message
  317.         (set #Message             "\n\nGrazie per aver scelto\n\n>> GlobalTrash <<\n\nper la gestione del tuo cestino.\n\n\nScript di Installazione © 1997/98 di Oliver Blumert\n\n")
  318.  
  319.     ; Main
  320.         (set #InstallModeStrg     "Vuoi Che GlobalTrash venga:")
  321.         (set #InstallMode1        "installato (nuovo) ?")
  322.         (set #InstallMode2        "aggiornato (da una vecchia versione) ?")
  323.         (set #InstallMode3        "rimosso ?")
  324.         (set #InstallModeHelp     "'aggiornato' installa la nuova versione (programma, cataloghi e documentazione) e lascia le icone e i settaggi inalterate.\n'installato' installa tutto il programma icone e icone di default comprese.\n'rimosso' cancella GlobalTrash dal tuo Hard Disk.")
  325.  
  326.         (set #CPUVersionSel       "Installo la versione per la CPU:")
  327.         (set #CPUVersionSelHelp   "Scegli la versione per la tua CPU:")
  328.  
  329.         (set #SelectMainDir       "Dove vuoi installare il programma ?")
  330.         (set #SelectMainDirHelp   "Seleziona il percorso di installazione.\n\n\n\nNON verrà creato alcun cassetto !\n\nSe scegli 'SYS:WBStartup' allora verrà\nautomaticamente avviato dopo l'avvio del WB")
  331.         (set #CopyMainProg        "Copio il file principale.")
  332.  
  333.         (set #SelectClientDir     "Dove vuoi installare GlobalTrashClient ?")
  334.         (set #SelectClientDirHelp "Seleziona il percorso di installazione per il GlobalTrashClient (un interfaccia shell/wb per GlobalTrash).\n\n\n\nNON verrà creato alcun cassetto !")
  335.         (set #CopyClientProg      "Copio GlobalTrashClient.")
  336.  
  337.         (set #SelectPrefsDir      "Dove vuoi installare il programma di preferenze ?")
  338.         (set #SelectPrefsDirHelp  "Seleziona il percorso per il programma di preferenze.\n\n\n\nNON verrà creato alcun cassetto !")
  339.         (set #CopyPrefsProg       "Copio il programma di preferenze.")
  340.  
  341.         (set #AskIconCopy         "Devo installare le necessarie icone di default per l'appicon del wb ('def_Trashcan' e 'def_TrashcanFull') verranno copiate ?")
  342.         (set #AskIconCopyHelp     "Questi file sono necessari in modo che GlobalTrash crei le appicon per il workbenchto. Se non venissero copiate allora l'utente non potrebbe cancellare nessun file tramite questa appicon fino a che nelle preferenze non vengano selezionate altre due icone.")
  343.         (set #CopyIcons           "Copio le necessarie icone.")
  344.  
  345.         (set #CatalogVersion      8)
  346.         (set #CatalogSel          "Quale linguaggio deve essere installato ?\nL'Inglese é 'build-in' - non c'é bisogno di installarlo.")
  347.         (set #CatalogSelHelp      "Scegli uno o più linguaggi che possono essere usati dal programma.\nIl catalogo Per l'inglese ('english') non deve essere installato (linguaggio build-in) !\n\nI file di cataloghi verranno installati in 'LOCALE:catalogs/'.")
  348.         (set #CopyLocale          "Copio i file di cataloghi")
  349.  
  350.         (set #SelectDocuDir       "Dove vuoi installare la documentazione ?")
  351.         (set #SelectDocuDirHelp   "Seleziona il percorso dove installare la documentazione.\n\nNON verrà creato alcun cassetto !")
  352.         (set #CopyDocu            "Copio la documentazione.")
  353.  
  354.         (set #RemoveMainDir       "Dove hai installato il programma principale ?")
  355.         (set #RemoveMainProg      "Cancello il file principale.")
  356.  
  357.         (set #RemovePrefsDir      "Dove hai installato il programma di preferenze ?")
  358.         (set #RemovePrefsProg     "Cancello il programma di preferenze.")
  359.  
  360.     ; End of installation
  361.         (set #EndInstall          "\n\nL' installazione é finita.\n\n\nSe hai problemi, contatta l'autore.\n\nTroverai l'indirizzo nella documentazione o sulla sua pagina web 'http://home.pages.de/~bolli'.")
  362.         (set #GlobalTrashRemoved  "\n\nGlobalTrash é stato rimosso !\n\n\nMi dispiace non abbia trovato GlobalTrash un programma utile... ")
  363.     )
  364. )
  365.  
  366. ;=============================================================================
  367. ; Polskie teksty
  368. ;=============================================================================
  369.  
  370. (if (= @language "polski")
  371.     (
  372.  
  373.     ; Documentation
  374.         (set #DocuPath            "Help/english")
  375.         (set #DocuDefaultPath     "HELP:english")
  376.  
  377.     ; Errors
  378.         (set #Err-Bad-Kick        "GlobalTrash wymaga co najmniej KickStartu 3.0!")
  379.         (set #Err-Bad-CPU         "GlobalTrash wymaga procesora serii Motorola MC68k (68000/010/020/030/040/060)!")
  380.  
  381.     ; Message
  382.         (set #Message             "\n\nBrdzo dziëkujë, ûe wybraîeô\n\n>> GlobalTrash <<\n\njako swój system ômietników.\n\n\nSkrypt instalacyjny ©1997/98 - Oliver Blumert\n\n")
  383.  
  384.     ; Main
  385.         (set #InstallMode         "Czy chcesz GlobalTrash:")
  386.         (set #InstallMode1        "zainstalowaê od nowa?")
  387.         (set #InstallMode2        "uaktualniê (starszâ wersjë)?")
  388.         (set #InstallMode3        "usunâê?")
  389.         (set #InstallModeHelp     "- 'zainstalowaê od nowa' instaluje kompletny pakiet îâcznie z wszystkimi ikonkami.\n\n- 'uaktualniê' instaluje nowe wersje (program, katalog i dokumentacja) nie zmieniajâc ikonek ani ustawieï.\n\n- 'usunâê' usuwa GlobalTrasha z Twojego systemu plików.")
  390.  
  391.         (set #CPUVersionSel       "Instalujë wersjë dla procesora:")
  392.         (set #CPUVersionSelHelp   "Wybierz, proszë, odpowiedniâ dla Twojego procesora wersjë programu.")
  393.  
  394.         (set #SelectMainDir       "Gdzie chciaî(a)byô zainstalowaê gîówny program?")
  395.         (set #SelectMainDirHelp   "Wybierz, proszë gdzie chcesz umieôciê gîówny program.\n\nW wybranym katalogu NIE bëdzie utworzony podkatalog!\n\nJeûeli wybierzesz 'SYS:WBStartup' to program bëdzie uruchamiany kaûdorazowo przy starcie systemu.")
  396.         (set #CopyMainProg        "Kopiujë gîówny program.")
  397.  
  398.         (set #SelectClientDir     "Gdzie chciaî(a)byô zainstalowaê GlobalTrashClienta?")
  399.         (set #SelectClientDirHelp "Wybierz, proszë gdzie chcesz umieôciê program 'GlobalTrashClient' (interfejs CLI/Shell dla GlobalTrasha).\n\nW wybranym katalogu NIE bëdzie utworzony podkatalog!")
  400.         (set #CopyClientProg      "Kopiujë program 'GlobalTrashClient'.")
  401.  
  402.         (set #SelectPrefsDir      "Gdzie chciaî(a)byô zainstalowaê program do zmiany ustawieï?")
  403.         (set #SelectPrefsDirHelp  "Wybierz, proszë gdzie chcesz umieôciê program do zmiany ustawieï.\n\nW wybranym katalogu NIE bëdzie utworzony podkatalog!")
  404.         (set #CopyPrefsProg       "Kopiujë program do zmiany ustawieï.")
  405.  
  406.         (set #AskIconCopy         "Czy mam równieû zainstalowaê niezbëdne ikonki ('def_Trashcan' und 'def_TrashcanFull')?")
  407.         (set #AskIconCopyHelp     "Pliki te sâ niezbëdne do utworzenia app-ikonki na ekranie WorkBencha. Jeûeli ich nie zainstalujesz, nie bëdzie moûliwoôci korzystania z podstawowej funkcji programu tak dîugo dopóki nie podasz w ustawieniach z jakich plików GlobalTrash ma korzystaê przy tworzeniu app-ikonki.")
  408.         (set #CopyIcons           "Kopiujë ikonki.")
  409.  
  410.         (set #CatalogVersion      16)
  411.         (set #CatalogSel          "Jakâ wersjë jëzykowâ chciaî(a)byô zainstalowaê?\nWersja 'English' (czyli angielska) jest wbudowana w program i nie potrzebuje byê instalowana!")
  412.         (set #CatalogSelHelp      "Wybierz, proszë wersjë jëzykowâ, z której chcesz korzystaê.\nDla jëzyka angielskiego nie potrzeba instalowaê pliku '.catalog' (jest on wbudowany w program)!\n\nOdpowiednie pliki '.catalog' zostanâ zainstalowane do katalogu 'LOCALE:catalogs/'.")
  413.         (set #CopyLocale          "Kopiujë plik(i) '.catalog'.")
  414.  
  415.         (set #SelectDocuDir       "Gdzie chciaî(a)byô zainstalowaê plik(i) dokumentacji?")
  416.         (set #SelectDocuDirHelp   "Wybierz, proszë gdzie chcesz umieôciê plik(i) dokumentacji.\n\nW wybranym katalogu NIE bëdzie utworzony podkatalog!")
  417.         (set #CopyDocu            "Kopiujë plik(i) dokumentacji.")
  418.  
  419.         (set #RemoveMainDir       "Gdzie zainstalowaîeô(aô) gîówny program?")
  420.         (set #RemoveMainProg      "Kasujë gîówny program.")
  421.  
  422.         (set #RemovePrefsDir      "Gdzie zainstalowaîeô(aô) program do zmiany ustawieï?")
  423.         (set #RemovePrefsProg     "Kasujë program do zmiany ustawieï.")
  424.  
  425.     ; End of installation
  426.         (set #EndInstall          "\n\nInstallacja zostaîa zakoïczona.\n\n\nJeûeli bëdziesz miaî(a) jakieô wâtpliwoôci lub kîopoty, zawsze moûesz skontaktowaê sië z autorem (pamiëtajâc o tym iû prawdopodobnie nie zna on w dalszym ciâgu jëzyka polskiego - przyp. tîum.).\n\nAdresy znajdziesz w dokumentacji lub na stronie: 'http://home.pages.de/~bolli'.")
  427.         (set #GlobalTrashRemoved  "\n\nGlobalTrash zostaî usuniëty!\n\n\nSzkoda, ûe nie okazaî sië dla Ciebie przydatny bâdú nie znalazî on uznania w Twoich oczach... :-(")
  428.     )
  429. )
  430.  
  431. ;=============================================================================
  432. ; Svenska strängar
  433. ;=============================================================================
  434.  
  435. (if (= @language "svenska")
  436.     (
  437.  
  438.     ; Documentation
  439.         (set #DocuPath            "Help/english")
  440.         (set #DocuDefaultPath     "HELP:english")
  441.  
  442.     ; Errors
  443.         (set #Err-Bad-Kick        "Du behöver som minst Kickstart 3.0 för att köra GlobalTrash !")
  444.         (set #Err-Bad-CPU         "Du behöver en Motorola MC68k CPU (68000/010/020/030/040/060) för att köra GlobalTrash !")
  445.  
  446.     ; Message
  447.         (set #Message             "\n\nTack så mycket för att du väljer\n\n>> GlobalTrash <<\n\nsom ditt soptunnesystem.\n\n\nInstallationsscript © 1997/98 av Oliver Blumert\n\n")
  448.  
  449.     ; Main
  450.         (set #InstallModeStrg     "Vill du att GlobalTrash ska:")
  451.         (set #InstallMode1        "installeras (ny) ?")
  452.         (set #InstallMode2        "uppdateras (från en äldre version) ?")
  453.         (set #InstallMode3        "tas bort ?")
  454.         (set #InstallModeHelp     "'uppdateras' installerar den nya versionen (program, kataloger och dokumentation) och lämnar ikonerna och inställningarna orörda.\n'installeras' installerar det kompletta paketet inklusive ikonerna och förvalda ikoner.\n'tas bort' raderar GlobalTrash från din volym.")
  455.  
  456.         (set #CPUVersionSel       "Installera version för CPU:")
  457.         (set #CPUVersionSelHelp   "Välj en version för din CPU:")
  458.  
  459.         (set #SelectMainDir       "Var vill du att programmet ska installeras ?")
  460.         (set #SelectMainDirHelp   "Välj sökväg för programmet.\n\n\n\nNågon låda kommer INTE att skapas där !\n\nOm du väljer 'SYS:WBStartup' så kommer den\natt startas automagiskt vid uppstart")
  461.         (set #CopyMainProg        "Kopiera huvudfil.")
  462.  
  463.         (set #SelectClientDir     "Var vill du ha GlobalTrashClient installerad ?")
  464.         (set #SelectClientDirHelp "Välj sökväg för GlobalTrashClient (ett shell-/wb-gränssnitt för GlobalTrash).\n\n\n\nNågon låda kommer INTE att skapas där !")
  465.         (set #CopyClientProg      "Kopiera GlobalTrashClient.")
  466.  
  467.         (set #SelectPrefsDir      "Var vill du ha inställningsprogrammet installerat ?")
  468.         (set #SelectPrefsDirHelp  "Välj sökväg för inställningsprogrammet.\n\n\n\nNågon låda kommer INTE att skapas där !")
  469.         (set #CopyPrefsProg       "Kopiera inställningsprogram.")
  470.  
  471.         (set #AskIconCopy         "Skall de nödvändiga förvalda ikonfilerna för wb-appikonen ('def_Trashcan' och 'def_TrashcanFull') kopieras ?")
  472.         (set #AskIconCopyHelp     "Dessa filer behövs av GlobalTrash för att skapa appikonen på workbench. Om de ej kopieras så blir användaren oförmögen att ta bort filer via denna appikon förrän inställningarna korrigerats.")
  473.         (set #CopyIcons           "Kopierar nödvändiga ikonfiler.")
  474.  
  475.         (set #CatalogVersion      32)
  476.         (set #CatalogSel          "Vilket språk vill du ha installerat ?\nÈngelska är 'inbyggt' - behöver ej installeras.")
  477.         (set #CatalogSelHelp      "Välj ett eller flera språk att användas med programmet.\nNågon katalogfil för engelska behöver ej installeras (inbyggt språk) !\n\nKatalogfilerna kommer att installeras i 'LOCALE:catalogs/'.")
  478.         (set #CopyLocale          "Kopiera katalogfil")
  479.  
  480.         (set #SelectDocuDir       "Var vill du ha dokumentationen installerad ?")
  481.         (set #SelectDocuDirHelp   "Välj sökväg för dokumentationsfilerna.\n\nNågon låda kommer INTE att skapas där !")
  482.         (set #CopyDocu            "Kopiera dokumentation.")
  483.  
  484.         (set #RemoveMainDir       "Var hade du programmet installerat ?")
  485.         (set #RemoveMainProg      "Radera huvudfil.")
  486.  
  487.         (set #RemovePrefsDir      "Var hade du inställningsprogrammet installerat ?")
  488.         (set #RemovePrefsProg     "Radera inställningsprogram.")
  489.  
  490.     ; End of installation
  491.         (set #EndInstall          "\n\nInstallationen är nu klar.\n\n\nOm du har några problem, kontakta gärna författaren.\n\nDu hittar addressen i dokumentationen eller på denna Websida 'http://home.pages.de/~bolli'.")
  492.         (set #GlobalTrashRemoved  "\n\nGlobalTrash nu borttagen !\n\n\nJag finner det tråkigt att du inte finner GlobalTrash alls användbar...")
  493.     )
  494. )
  495.  
  496.  
  497. ;=============================================================================
  498. ; main installation routine
  499. ;=============================================================================
  500.  
  501.     (complete 0)
  502.     (message #Message (all))
  503.  
  504. ; Check OS-version
  505. ;==================
  506.  
  507.     (if (< (getversion) (* #MinSysVersion 65536))
  508.         (abort #Err-Bad-Kick)
  509.     )
  510.  
  511. ; Check CPU and remember
  512. ;========================
  513.  
  514.     (if (patmatch "680(00|10)" (database "cpu"))
  515.         (set #CPUVersion 0)
  516.     )
  517.     (if (patmatch "680(20|30|40|60)" (database "cpu"))
  518.         (set #CPUVersion 1)
  519.     )
  520.     (if (< #CPUVersion 0)
  521.         (abort #Err-Bad-CPU)
  522.     )
  523.  
  524.     (complete 5)
  525.  
  526.     (welcome)
  527.  
  528. ; Select installationmode
  529. ; =======================
  530.  
  531.     (if (exists (tackon #MainprogPath #MainprogName) (noreq))
  532.         (set #InstallMode #Update)
  533.     )
  534.     (set #InstallMode
  535.         (askchoice
  536.             (prompt #InstallModeStrg)
  537.             (help   #InstallModeHelp)
  538.             (choices
  539.                 #InstallMode1
  540.                 #InstallMode2
  541. ;                #InstallMode3
  542.             )
  543.             (default #InstallMode)
  544.         )
  545.     )
  546.  
  547. ; Mode 3: Remove GlobalTrash (not implemented yet !)
  548. ; ==================================================
  549.  
  550.     (if (= #InstallMode #Remove)
  551.         (exit #GlobalTrashRemoved (quiet))
  552.     )
  553.  
  554. ; Mode 1 and 2: Install or Update GlobalTrash
  555. ; ===========================================
  556.  
  557.     (if (> @user-level 1)
  558.         (set #CPUVersion
  559.             (askchoice
  560.                 (prompt #CPUVersionSel)
  561.                 (help   #CPUVersionSelHelp)
  562.                 (choices
  563.                     "68000/10"
  564.                     "68020/30/40/60"
  565.                 )
  566.                 (default #CPUVersion)
  567.             )
  568.         )
  569.     )
  570.  
  571.     (select #CPUVersion
  572.         (set #MainprogVersion (cat #MainprogName ".000"))
  573.         (set #MainprogVersion #MainprogName)
  574.     )
  575.  
  576.     (complete 10)
  577.  
  578. ; Copy the programfile
  579. ;======================
  580.  
  581.     (if (OR (= #InstallMode #New)
  582.             (AND (= #InstallMode #Update)
  583.                  (NOT (exists (tackon #MainprogPath #MainprogName) (noreq)))))
  584.         (
  585.             (set #MainprogPath
  586.                 (askdir
  587.                     (prompt  #SelectMainDir)
  588.                     (help    #SelectMainDirHelp)
  589.                     (default #MainprogPath)
  590.                 )
  591.             )
  592.         )
  593.     )
  594.  
  595.     ; set application path to get install_log_file there
  596.     (set @default-dest #MainprogPath)
  597.  
  598.     (copyfiles
  599.         (prompt  #CopyMainProg)
  600.         (source  #MainprogVersion)
  601.         (dest    #MainprogPath)
  602.         (newname #MainprogName)
  603.     )
  604.  
  605.     (if (= #InstallMode #New)
  606.         (copyfiles
  607.             (prompt  #CopyMainProg)
  608.             (source  (cat #MainprogName ".info"))
  609.             (dest    #MainprogPath)
  610.         )
  611.     )
  612.  
  613.     (complete 20)
  614.  
  615. ; Copy the preferences
  616. ;======================
  617.  
  618.     (if (OR (= #InstallMode #New)
  619.             (AND (= #InstallMode #Update)
  620.                  (NOT (exists (tackon #PrefsPath #PrefsName) (noreq)))))
  621.         (
  622.             (set #PrefsPath
  623.                 (askdir
  624.                     (prompt  #SelectPrefsDir)
  625.                     (help    #SelectPrefsDirHelp)
  626.                     (default #PrefsPath)
  627.                 )
  628.             )
  629.         )
  630.     )
  631.  
  632.     (copyfiles
  633.         (prompt  #CopyPrefsProg)
  634.         (source  #PrefsName)
  635.         (dest    #PrefsPath)
  636.     )
  637.  
  638. ;    (if (= #InstallMode #New)                                                  ; NEW (V 1.1)
  639.         (copyfiles
  640.             (prompt  #CopyPrefsProg)
  641.             (source  (cat #PrefsName ".info"))
  642.             (dest    #PrefsPath)
  643.         )
  644. ;    )
  645.  
  646. ; Adapt GlobalTrash-Tooltype
  647. ;============================
  648.  
  649.     (if (NOT (= #PrefsPath #PrefsDefPath))
  650.         (
  651.             (tooltype
  652.                 (dest (tackon #MainprogPath #MainprogName))
  653.                 (settooltype "PREFERENCES" (tackon #PrefsPath #PrefsName))
  654.             )
  655.         )
  656.         (
  657.             (tooltype
  658.                 (dest (tackon #MainprogPath #MainprogName))
  659.                 (settooltype "PREFERENCES")
  660.             )
  661.         )
  662.     )
  663.  
  664.     (complete 30)
  665.  
  666. ; Copy the clientprogram 
  667. ;=======================
  668.  
  669.     (if (OR (= #InstallMode #New)
  670.             (AND (= #InstallMode #Update)
  671.                  (NOT (exists (tackon #ClientPath #ClientName) (noreq)))))
  672.         (
  673.             (set #ClientPath
  674.                 (askdir
  675.                     (prompt  #SelectClientDir)
  676.                     (help    #SelectClientDirHelp)
  677.                     (default #ClientPath)
  678.                 )
  679.             )
  680.         )
  681.     )
  682.  
  683.     (copyfiles
  684.         (prompt  #CopyClientProg)
  685.         (source  #ClientName)
  686.         (dest    #ClientPath)
  687.     )
  688.  
  689.     (if (= #InstallMode #New)
  690.         (copyfiles
  691.             (prompt  #CopyClientProg)
  692.             (source  (cat #ClientName ".info"))
  693.             (dest    #ClientPath)
  694.         )
  695.     )
  696. ;    (if (= #InstallMode #Update)
  697. ;        (tooltype
  698. ;            (dest (tackon #MainprogPath #MainprogName))
  699. ;            (settooltype "tooltype" "value")
  700. ;        )
  701. ;    )
  702.  
  703.  
  704.     (complete 40)
  705.  
  706. ; Copy the defaulticons (install new)
  707. ;====================================
  708.  
  709.     (if (= #InstallMode #New)
  710.         (
  711.             (if (> @user-level 1)
  712.                 (set #PerformIconCopy (askbool
  713.                                           (prompt  #AskIconCopy)
  714.                                           (help    #AskIconCopyHelp)
  715.                                       )
  716.                 )
  717.             )
  718.  
  719.             (if (= #PerformIconCopy 1)
  720.                 (
  721.                     (copyfiles
  722.                         (prompt  #CopyIcons)
  723.                         (source  "ENVARC/sys/")
  724.                         (dest    "ENV:sys")
  725.                         (all)
  726.                     )
  727.  
  728.                     (complete 50)
  729.  
  730.                     (copyfiles
  731.                         (prompt  #CopyIcons)
  732.                         (source  "ENVARC/sys/")
  733.                         (dest    "ENVARC:sys")
  734.                         (all)
  735.                     )
  736.                 )
  737.             )
  738.         )
  739.     )
  740.  
  741.     (complete 60)
  742.  
  743. ; Copy the catalogs
  744. ;==================
  745.  
  746.     ; Copy new
  747.     ;=========
  748.  
  749.     (if (= #InstallMode #New)
  750.         (
  751.             (set #CatalogVersion
  752.                 (askoptions
  753.                     (prompt #CatalogSel)
  754.                     (help   #CatalogSelHelp)
  755.                     (choices
  756.                         "deutsch"
  757.                         "español"
  758.                         "français"
  759.                         "italiano"
  760.                         "polski"
  761.                         "svenska"
  762.                     )
  763.                     (default #CatalogVersion)
  764.                 )
  765.             )
  766.  
  767.             ; english (#CatalogVersion = 0 - built in)                         ; (REMOVED V 1.1)
  768.             (if (exists (tackon #LocaleDest "english/GlobalTrash.catalog") (noreq))
  769.                 (delete (tackon #LocaleDest "english/GlobalTrash.catalog"))
  770.             )
  771.  
  772.             ; deutsch (#CatalogVersion = 1)
  773.             (if (in #CatalogVersion 0)
  774.                 (
  775.                     (copyfiles
  776.                         (prompt  #CopyLocale)
  777.                         (source  (tackon #LocaleSrc  "deutsch/GlobalTrash.catalog"))
  778.                         (dest    (tackon #LocaleDest "deutsch"))
  779.                     )
  780.                     (copyfiles
  781.                         (prompt  #CopyLocale)
  782.                         (source  (tackon #LocaleSrc  "deutsch/GlobalTrashPrefs.catalog"))
  783.                         (dest    (tackon #LocaleDest "deutsch"))
  784.                     )
  785.                 )
  786.             )
  787.  
  788.             ; español (#CatalogVersion = 2)
  789.             (if (in #CatalogVersion 1)
  790.                 (
  791.                     (copyfiles
  792.                         (prompt  #CopyLocale)
  793.                         (source  (tackon #LocaleSrc  "español/GlobalTrash.catalog"))
  794.                         (dest    (tackon #LocaleDest "español"))
  795.                     )
  796.                     (copyfiles
  797.                         (prompt  #CopyLocale)
  798.                         (source  (tackon #LocaleSrc  "español/GlobalTrashPrefs.catalog"))
  799.                         (dest    (tackon #LocaleDest "español"))
  800.                     )
  801.                 )
  802.             )
  803.  
  804.             ; français (#CatalogVersion = 4)
  805.             (if (in #CatalogVersion 2)
  806.                 (
  807.                     (copyfiles
  808.                         (prompt  #CopyLocale)
  809.                         (source  (tackon #LocaleSrc  "français/GlobalTrash.catalog"))
  810.                         (dest    (tackon #LocaleDest "français"))
  811.                     )
  812.                     (copyfiles
  813.                         (prompt  #CopyLocale)
  814.                         (source  (tackon #LocaleSrc  "français/GlobalTrashPrefs.catalog"))
  815.                         (dest    (tackon #LocaleDest "français"))
  816.                     )
  817.                 )
  818.             )
  819.  
  820.             ; italiano (#CatalogVersion = 8)
  821.             (if (in #CatalogVersion 3)
  822.                 (
  823.                     (copyfiles
  824.                         (prompt  #CopyLocale)
  825.                         (source  (tackon #LocaleSrc  "italiano/GlobalTrash.catalog"))
  826.                         (dest    (tackon #LocaleDest "italiano"))
  827.                     )
  828.                     (copyfiles
  829.                         (prompt  #CopyLocale)
  830.                         (source  (tackon #LocaleSrc  "italiano/GlobalTrashPrefs.catalog"))
  831.                         (dest    (tackon #LocaleDest "italiano"))
  832.                     )
  833.                 )
  834.             )
  835.  
  836.             ; polski (#CatalogVersion = 16)
  837.             (if (in #CatalogVersion 4)
  838.                 (
  839.                     (copyfiles
  840.                         (prompt  #CopyLocale)
  841.                         (source  (tackon #LocaleSrc  "polski/GlobalTrash.catalog"))
  842.                         (dest    (tackon #LocaleDest "polski"))
  843.                     )
  844.                     (copyfiles
  845.                         (prompt  #CopyLocale)
  846.                         (source  (tackon #LocaleSrc  "polski/GlobalTrashPrefs.catalog"))
  847.                         (dest    (tackon #LocaleDest "polski"))
  848.                     )
  849.                 )
  850.             )
  851.  
  852.             ; svenska (#CatalogVersion = 32)
  853.             (if (in #CatalogVersion 5)
  854.                 (
  855.                     (copyfiles
  856.                         (prompt  #CopyLocale)
  857.                         (source  (tackon #LocaleSrc  "svenska/GlobalTrash.catalog"))
  858.                         (dest    (tackon #LocaleDest "svenska"))
  859.                     )
  860.                     (copyfiles
  861.                         (prompt  #CopyLocale)
  862.                         (source  (tackon #LocaleSrc  "svenska/GlobalTrashPrefs.catalog"))
  863.                         (dest    (tackon #LocaleDest "svenska"))
  864.                     )
  865.                 )
  866.             )
  867.         )
  868.     )
  869.  
  870.     ;update old (catalog exists)
  871.     ;===========================
  872.  
  873.     (if (= #InstallMode #Update)
  874.         (
  875.             (if (exists (tackon #LocaleDest "deutsch") (noreq))                ; (NEW V 1.1)
  876.                 (
  877.                     (copyfiles
  878.                         (prompt  #CopyLocale)
  879.                         (source  (tackon #LocaleSrc  "deutsch/GlobalTrash.catalog"))
  880.                         (dest    (tackon #LocaleDest "deutsch"))
  881.                     )
  882.                     (copyfiles
  883.                         (prompt  #CopyLocale)
  884.                         (source  (tackon #LocaleSrc  "deutsch/GlobalTrashPrefs.catalog"))
  885.                         (dest    (tackon #LocaleDest "deutsch"))
  886.                     )
  887.                 )
  888.             )
  889.                                                                                ; (REMOVED V 1.1)
  890.             (if (exists (tackon #LocaleDest "english/GlobalTrash.catalog") (noreq))
  891.                 (delete (tackon #LocaleDest "english/GlobalTrash.catalog"))
  892.             )
  893.  
  894.             (if (exists (tackon #LocaleDest "español") (noreq))                ; (NEW V 1.1)
  895.                 (
  896.                     (copyfiles
  897.                         (prompt  #CopyLocale)
  898.                         (source  (tackon #LocaleSrc  "español/GlobalTrash.catalog"))
  899.                         (dest    (tackon #LocaleDest "español"))
  900.                     )
  901.                     (copyfiles
  902.                         (prompt  #CopyLocale)
  903.                         (source  (tackon #LocaleSrc  "español/GlobalTrashPrefs.catalog"))
  904.                         (dest    (tackon #LocaleDest "español"))
  905.                     )
  906.                 )
  907.             )
  908.  
  909.             (if (exists (tackon #LocaleDest "français") (noreq))
  910.                 (
  911.                     (copyfiles
  912.                         (prompt  #CopyLocale)
  913.                         (source  (tackon #LocaleSrc  "français/GlobalTrash.catalog"))
  914.                         (dest    (tackon #LocaleDest "français"))
  915.                     )
  916.                     (copyfiles
  917.                         (prompt  #CopyLocale)
  918.                         (source  (tackon #LocaleSrc  "français/GlobalTrashPrefs.catalog"))
  919.                         (dest    (tackon #LocaleDest "français"))
  920.                     )
  921.                 )
  922.             )
  923.  
  924.             (if (exists (tackon #LocaleDest "italiano") (noreq))               ; (NEW V 1.1)
  925.                 (
  926.                     (copyfiles
  927.                         (prompt  #CopyLocale)
  928.                         (source  (tackon #LocaleSrc  "italiano/GlobalTrash.catalog"))
  929.                         (dest    (tackon #LocaleDest "italiano"))
  930.                     )
  931.                     (copyfiles
  932.                         (prompt  #CopyLocale)
  933.                         (source  (tackon #LocaleSrc  "italiano/GlobalTrashPrefs.catalog"))
  934.                         (dest    (tackon #LocaleDest "italiano"))
  935.                     )
  936.                 )
  937.             )
  938.  
  939.             (if (exists (tackon #LocaleDest "polski") (noreq))
  940.                 (
  941.                     (copyfiles
  942.                         (prompt  #CopyLocale)
  943.                         (source  (tackon #LocaleSrc  "polski/GlobalTrash.catalog"))
  944.                         (dest    (tackon #LocaleDest "polski"))
  945.                     )
  946.                     (copyfiles
  947.                         (prompt  #CopyLocale)
  948.                         (source  (tackon #LocaleSrc  "polski/GlobalTrashPrefs.catalog"))
  949.                         (dest    (tackon #LocaleDest "polski"))
  950.                     )
  951.                 )
  952.             )
  953.  
  954.             (if (exists (tackon #LocaleDest "svenska") (noreq))
  955.                 (
  956.                     (copyfiles
  957.                         (prompt  #CopyLocale)
  958.                         (source  (tackon #LocaleSrc  "svenska/GlobalTrash.catalog"))
  959.                         (dest    (tackon #LocaleDest "svenska"))
  960.                     )
  961.                     (copyfiles
  962.                         (prompt  #CopyLocale)
  963.                         (source  (tackon #LocaleSrc  "svenska/GlobalTrashPrefs.catalog"))
  964.                         (dest    (tackon #LocaleDest "svenska"))
  965.                     )
  966.                 )
  967.             )
  968.         )
  969.     )
  970.  
  971.     (complete 70)
  972.  
  973. ; Copy the documentation
  974. ;========================
  975.  
  976.     (set #DocuDefaultPath
  977.         (askdir
  978.             (prompt  #SelectDocuDir)
  979.             (help    #SelectDocuDirHelp)
  980.             (default #DocuDefaultPath)
  981.         )
  982.     )
  983.  
  984.     (copyfiles
  985.         (prompt  #CopyDocu)
  986.         (source  "")
  987.         (dest    #DocuDefaultPath)
  988.         (choices
  989.             (tackon #DocuPath #DocuName)
  990.             (tackon #DocuPath #RegisterName)
  991.             #HistoryName
  992. ;            #ImportantName
  993.         )
  994.     )
  995.  
  996.     (if (= #InstallMode #New)
  997.         (copyfiles
  998.             (prompt  #CopyDocu)
  999.             (source  "")
  1000.             (dest    #DocuDefaultPath)
  1001.             (choices
  1002.                 (cat (tackon #DocuPath #DocuName)     ".info")
  1003.                 (cat (tackon #DocuPath #RegisterName) ".info")
  1004.                 (cat #HistoryName   ".info")
  1005. ;                (cat #ImportantName ".info")
  1006.             )
  1007.         )
  1008.     )
  1009.  
  1010.     (set #ImportantName (tackon #DocuDefaultPath #ImportantName))              ; not with V1.2
  1011.     (if (exists #ImportantName (noreq))
  1012.         (
  1013.             (delete #ImportantName force)
  1014.             (delete (cat #ImportantName ".info") force)
  1015.         )
  1016.     )
  1017.  
  1018.     (complete 99)
  1019.  
  1020. ; Display important note
  1021. ;========================
  1022.  
  1023. ;    (run (cat "SYS:Utilities/MultiView " #ImportantName) (safe))
  1024.  
  1025. ; Finish
  1026. ;========
  1027.  
  1028.     (complete 100)
  1029.  
  1030.     (exit #EndInstall)
  1031.  
  1032.